package com.luckyframe.project.jmeter.jmeterJarCaseRel.domain;

import com.luckyframe.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * jmx jar 和case relation表 jmeter_jar_case_rel
 * 
 * @author lancelot
 * @date 2020-10-15
 */
public class JmeterJarCaseRel extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 关联的test_case的id (非全局的时候则和testcase关联) */
	private Long relCaseId;
	/** 关联的test_case的id (非全局的时候则和testcase关联) */
	private Long relJarId;
	/** 创建时间 */
	private Date createTime;
	/** 更新者 */
	private String updateBy;
	/** 修改时间 */
	private Date updateTime;
	/** 备注 */
	private String remark;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setRelCaseId(Long relCaseId) 
	{
		this.relCaseId = relCaseId;
	}

	public Long getRelCaseId() 
	{
		return relCaseId;
	}
	public void setRelJarId(Long relJarId) 
	{
		this.relJarId = relJarId;
	}

	public Long getRelJarId() 
	{
		return relJarId;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("relCaseId", getRelCaseId())
            .append("relJarId", getRelJarId())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
